package com.lgc.webtest.controller;

import com.lgc.webtest.entity.MqMsg;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/testAop")
public class TestAopController {

    @RequestMapping("/test")
    public String test(@RequestBody MqMsg msg){
        return "ok";
    }
}
